<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<h3 style="text-align: center;">打印倒正金字塔直線</h3>
		<script type="text/javascript">
			var op=prompt("請輸入行數","");
			for(var i=op;i>0;i--){
				document.write("<hr width="+i+"% />")
			}
			for(var j=0;j<op;j++){
				document.write("<hr width="+j+"% />")
			}
		</script>
	</body>
</html>
